This patch fixes the issue with waiting for devices to disconnect during the end
authorSteven Hand <steven@xensource.com>
Tue, 22 May 2007 14:32:50 +0000 (15:32 +0100)
committerSteven Hand <steven@xensource.com>
Tue, 22 May 2007 14:32:50 +0000 (15:32 +0100)
stage of migration in Xend. The problem was cause by a deletion of the VM domain
ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get
the virtual backend device path. The virtual backend device path is used to
check if a device still exists in xenstore.

Signed-off-by: Yung Giang <yung.giang@gmail.com>
tools/python/xen/xend/XendDomainInfo.py

index ede2f27c363b84e1203171724152ac5c08bb8415..31ac1ecc3fc33652654c93394f54680ca4471a78 100644 (file)
@@ -1684,7 +1684,6 @@ class XendDomainInfo:
         try:
             if self.domid is not None:
                 xc.domain_destroy(self.domid)
-                self.domid = None
                 for state in DOM_STATES_OLD:
                     self.info[state] = 0
                 self._stateSet(DOM_STATE_HALTED)